package vue.spring.cloud.web.admin.service.histrix;

import org.springframework.stereotype.Component;
import vue.spring.cloud.web.admin.service.AdminService;

/**
 * @ClassName AdminServiceHystrix
 * @Deccription 接口的熔断器
 * @Author DZ
 * @Date 2020/6/6 22:25
 **/
@Component
public class AdminServiceHystrix implements AdminService {
    @Override
    public String sayHi(String message) {
        return String.format("Hi your message is : %s but request bad", message);
    }
}
